package com.situ.struts.action;

import com.opensymphony.xwork2.ActionSupport;

public class UserAction1 extends ActionSupport {
    private String name;
    private Integer age;
    private String password;

   public String register() {
       System.out.println("register()");
       System.out.println(name);
       System.out.println(age);
       System.out.println(password);
       return SUCCESS;
   }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
